{% load static %}

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>login_with_verify_code</title>

    <script type="text/javascript" src="https://cdn.bootcdn.net/ajax/libs/jquery/1.11.1/jquery.js"></script>

    <script type="text/javascript" src="{% static 'js/login.js' %}"></script>

</head>
<body>

<form action="{% url 'DjangoCache:login_with_verify_code' %}" method="post">

    <span>用户名：</span> <input type="text" placeholder="请输入用户名" name="username">

    <br>

    <span>验证码：</span><input type="text" placeholder="请输入验证码" name="verify_code">

    <br>

    <img src="{% url 'DjangoCache:get_code' %}" alt="验证码">
    <br>
    <button>验证</button>


</form>

</body>
</html>